package com.usian.search.service;

import com.usian.model.search.dtos.UserSearchDto;
import com.usian.search.entity.ApAssociateWords;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 联想词表 服务类
 * </p>
 *
 * @author usian
 * @since 2022-10-19
 */
public interface IApAssociateWordsService extends IService<ApAssociateWords> {

    /**
     * 关键词联想
     * @param dto
     * @return
     */
    List<ApAssociateWords> search(UserSearchDto dto);

    /**
     * 关键字联想词查询升级版
     * @param dto
     * @return
     */
    List<ApAssociateWords> searchV2(UserSearchDto dto);
}
